package com.ntty.utils.bean;

public interface IMsg {
	public static final int MAX_FRAME_LENGTH = 1024 * 1024; // 最大长度
	public static final int LENGTH_FIELD_LENGTH = 4; // 长度字段所占的字节数
	public static final int LENGTH_FIELD_OFFSET = 2; // 长度偏移
	public static final int LENGTH_ADJUSTMENT = 0;
	public static final int INITIAL_BYTES_TO_STRIP = 0;

	public String getContent();

	public int getLength();
}
